﻿
namespace Hu.Smart.Core.Messages
{
    public class MessageEventData //: EventData
    {
        public MessageEventData(string eventName)
        {
            EventName = eventName;
        }

        public MessageEventData(string eventName, string username, string message) : this(eventName)
        {
            UserName = username;
            Message = message;
        }

        public string EventName
        {
            get; set;
        }

        public string UserName
        {
            get; set;
        }

        public string Message
        {
            get; set;
        }
    }
}